package cn.wolfcode.service.impl;

import cn.wolfcode.domain.DeptLog;
import cn.wolfcode.mapper.DeptMapper;
import cn.wolfcode.service.deptSercive;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
public class deptSerciveImpl implements deptSercive {
    @Autowired
    private DeptMapper deptMapper;
    @Transactional
    @Override
    public void save(DeptLog deptLog) {
        deptMapper.insert(deptLog);

    }
}
